import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import getters from './getters'

import user from './modules/user'
import app from './modules/app'

Vue.use(Vuex)

const store = new Vuex.Store({
	modules: {
		user,
		app,
	},
	state,
	getters,
})

export default store
